﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="CreateEditFootballPlayer.ascx.cs" Inherits="Web.Cms.FootballPlayer.CreateEditFootballPlayer1" %>
 <%@ Register assembly="FilePickerControl" namespace="AWS.FilePicker" tagprefix="cc1" %>
<%@ Register assembly="RadCalendar.Net2" namespace="Telerik.WebControls" tagprefix="radCln" %>
<%@ Register assembly="CuteEditor" namespace="CuteEditor" tagprefix="CE" %>
<style type="text/css">
        .style1 {
            width: 100%;
        }
        .style2
        {
            text-align: center;
            color: #669999;
        }
        .style4
        {
            text-align: right;
            height: 30px;
        }
        .style5
        {
            height: 30px;
        }
        .style6
        {
            text-align: right;
            height: 82px;
        }
        .style7
        {
            height: 82px;
        }
    </style>
 <table class="style1" width="1000px">
        <tr>
            <td colspan="2">              
            <asp:ValidationSummary ID="ValidationSummary1" ForeColor="Red" runat="server" DisplayMode="BulletList"
                Font-Bold="true" HeaderText="Có lỗi xảy ra :" ShowMessageBox="true" />              
            </td>
        </tr>
        <tr>
            <td class="style2" colspan="2">
                <asp:Label ID="lblUpdateStatus" runat="server" Font-Bold="true" ForeColor="red" 
                Font-Size="12px"></asp:Label>
                </td>
        </tr>
        <tr>
            <td class="style2" colspan="2">
                <h2>
                <strong>THÔNG TIN CẦU THỦ</strong></h2>
            </td>
        </tr>
        <tr>
            <td class="style2" colspan="2">
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style4">
                <strong>Tên cầu thủ:</strong></td>
            <td class="style5">
                <asp:TextBox ID="txtFullName" runat="server" Width="400px" Height="22"></asp:TextBox>
                 <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtFullName"
                ErrorMessage="Tên cầu thủ không được để trống" ForeColor="Red">*</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="style4">
                <strong>Ảnh hiện thị:</strong></td>
            <td class="style5">
            <asp:Image ID="ImgAvatar" runat="server" 
                ImageUrl="~/App_Themes/Default/Images/noDefaultImage.gif" />
            </td>
        </tr>
        <tr>
            <td class="style4">
                <strong>Đường dẫn ảnh:</strong></td>
            <td class="style5">
                 
            <strong>
             <cc1:FilePicker ID="txtAvatar" runat="server" fpPopupURL="/FilePicker/FilePicker.aspx"
                 Width="175px" fpAllowedUploadFileExts="png" fpUploadDir="/Uploads/FootballPlayer/"></cc1:FilePicker></strong>(ảnh đuôi PNG)
            </td>
        </tr>
        <tr>
            <td class="style4">
                <strong>Ngày sinh:</strong></td>
            <td class="style5">
                <radCln:RadDateTimePicker ID="txtDateBrithday" runat="server">
                </radCln:RadDateTimePicker>
            </td>
        </tr>
        <tr>
            <td class="style4">
                <strong>Thuộc câu lạc bộ</strong>:</td>
            <td class="style5">
                <asp:DropDownList ID="dropClubId" runat="server">
                </asp:DropDownList>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="dropClubId"
                ErrorMessage="Bạn chưa lựa chọn câu lạc bộ" InitialValue="0" ForeColor="Red">*</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr style="display:none;">
            <td class="style4">
                <strong>Thuộc quốc gia</strong>:</td>
            <td class="style5">
                <asp:DropDownList ID="dropZoneId" runat="server" CssClass="textbox-title" Height="20" Width="280">
        <asp:ListItem Value="0">---Lựa chọn quốc gia---</asp:ListItem>
        <asp:ListItem Value="1">English </asp:ListItem>        
        </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td class="style4">
                <strong>Tóm tắt thông tin cầu thủ:</strong></td>
            <td class="style5">
          <CE:Editor AutoConfigure="Minimal" runat="server" ID="txtTeaser" Height="214px" 
                    style="margin-left: 0px" Width="616px"></CE:Editor>
            </td>
        </tr>
        <tr>
            <td class="style6">
                <strong>Chi tiết về cầu thủ:</strong></td>
            <td class="style7">
          <CE:Editor AutoConfigure="Minimal" runat="server" ID="txtBody" Height="379px" 
                    style="margin-left: 0px" Width="616px"></CE:Editor>
            </td>
        </tr>
        <tr>
            <td class="style4">
                &nbsp;</td>
            <td class="style5">
        <asp:LinkButton ID="btnAddFootballPlayer" runat="server" CssClass="admin-btn-add" onclick="btnAddFootballPlayer_Click" 
                 />  
            <asp:LinkButton ID="btnUpdateFootballPlayer" runat="server" 
            CssClass="admin-btn-edit" onclick="btnUpdateFootballPlayer_Click"/>   
                  <asp:LinkButton ID="btnCanelFootballPlayer" runat="server" 
            CssClass="admin-btn-exit" onclick="btnCanelFootballPlayer_Click"/>     
            </td>
        </tr>
    </table>